package com.uchiha.nova.mainService.service;


import com.uchiha.nova.core.model.entity.RoleEntity;
import com.uchiha.nova.core.model.entity.UserEntity;
import com.uchiha.nova.core.model.entity.UserRoleEntity;
import com.uchiha.nova.core.tool.support.BaseService;

import java.util.List;

/**
 * 角色管理 服务类
 *
 * @author Chill
 */
public interface IRoleService extends BaseService<RoleEntity> {
    boolean deletePhysics(List<Long> ids);
    String initLogin(List<UserRoleEntity> userRoleEntities);
    List<RoleEntity> getUserRoles(Long userId);
    List<UserRoleEntity> basicInit(UserEntity userEntity);
//    void initTenantAdmin(String tenant);
}
